use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
pub struct PeerStatus {}

impl Default for PeerStatus {
    fn default() -> Self {
        Self {}
    }
}

pub async fn peer_status() -> anyhow::Result<PeerStatus> {
    //调用登录,并启动线程定时更新状态

    Ok(PeerStatus {})
}
